DHTMLX Documentation

dhtmlxGrid. Cell Editor (eXcell) Types

Base types

ro

Simple readonly cell without edit possibility
Variations:

ed

Simple single line editor
Variations:

txt

Simple multi-line editor ( small textarea )
Variations:


ch

Checkbox eXcell. Treats 1 as checked, 0 as not checked


ra

Radiobutton (column oriented)
Variations:


co

Simple combobox
Variations



Formatting excells


link

Threat value as link source, renders as link (A tag)
The corresponding  cell value in XML should be a "^" delimited list of following values:
1st - Link Text
2nd - URL (optional)
3rd - target (optional, default is _blank)
Dummy link
Real link^http://dhtmlx.com
Real link^http://dhtmlx.com^_blank
Real link^javascript:doSomething()^_self


img

Threat value as image source, renders as image (IMG tag)
The corresponding  cell value in XML should be a "^" delimited list of following values:
    1st - image src
    2nd - image alt text (optional)
    3rd - link (optional)
    4rd - target (optional, default is _self)
some.gif
some.gif^alte text
some.gif^alt text^http://dhtmlx.com^_blank
some.gif^alt text^javascript:doSomething()^_self


price

renders value as price amount ( prepeniding $ sign, value >0 rendered in green, other values rendered in red )


dyn

different coloring and marking based on value ( sales dynamic oriented )



Excell with complex editors


cp

Simple popup colorpicker

calck

Popup calculator control, allows specific formatting through grid.setNumberFormat(...

dhxCalendar

Popup calendar control, dhxCalendar used, date format can be set by grid.setDateFormat(...

dhxCalendarA

Popup calendar control, dhxCalendar used, date format can be set by grid.setDateFormat(...

In addition to popup calendar, cell in grid switched to edit mode, which allows to type date directly

calendar

Popup calendar control, YUI Calendar used

clist

Multiselect control, which mimic multiselect combobox behaviour, but has alternative visual implementation


Using other dhtmlxgrid controls as editors

grid

Use dhtmlxgrid as editor for cells

stree

Use dhtmlxtree as editor for cells

context

Use dhtmlxmenu as editor for cells

combo

Complex selectbox/combobox based on dhtmlxCombo, can work in autocomplete mode


Excells with specila purpose

sub_row

Show cell as expandable subrow of grid row ( allow to implement "expandable details" pattern )
Variation: